package cn.itsource.hrm.service.impl;

import cn.itsource.hrm.domain.Employee;
import cn.itsource.hrm.mapper.EmployeeMapper;
import cn.itsource.hrm.service.IEmployeeService;
import cn.itsource.hrm.vo.LoginUserInFo;
import com.baomidou.mybatisplus.service.impl.ServiceImpl;
import org.springframework.stereotype.Service;

/**
 * <p>
 *  服务实现类
 * </p>
 *
 * @author gwkge
 * @since 2021-03-31
 */
@Service
public class EmployeeServiceImpl extends ServiceImpl<EmployeeMapper, Employee> implements IEmployeeService {

    
    
    @Override
    public LoginUserInFo getLoginUserInfo(String username) {
        LoginUserInFo loginUserInFo = baseMapper.selectUserInfoByUserName(username);
        System.out.println(loginUserInFo);
        return loginUserInFo;
    }
}
